x86/hvm/rtc: always deassert the IRQ line when clearing REG_C.IRQF
authorTim Deegan <tim@xen.org>
Tue, 25 Feb 2014 08:30:21 +0000 (09:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Feb 2014 08:30:21 +0000 (09:30 +0100)
commit6d27a537727ca933bfef8ba01bc65847dc97cee1
tree1307cd5103eef7f331f9ad68bd418ec78fafc10b
parentc7e35c6ec705d777c0a11124ec28876f1468f2c5
x86/hvm/rtc: always deassert the IRQ line when clearing REG_C.IRQF

Even in no-ack mode, there's no reason to leave the line asserted
after an explicit ack of the interrupt.

Furthermore, rtc_update_irq() is an unconditional noop having just cleared
REG_C.

Signed-off-by: Tim Deegan <tim@xen.org>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/rtc.c